package com.ruoyi.reward.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * reward对象 offer_reward
 *
 * @author YuYang
 * @date 2021-11-11
 */
public class OfferReward extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 悬赏编号 */
    private Long rewardId;

    /** 悬赏人编号 */
    @Excel(name = "悬赏人编号")
    private Long userId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    private int height;

    /** 悬赏报酬 */
    @Excel(name = "悬赏报酬")
    private BigDecimal price;

    /** 详细介绍 */
    @Excel(name = "详细介绍")
    private String details;

    /** 悬赏类型 */
    @Excel(name = "悬赏类型")
    private String rewardType;

    /** 悬赏状态（1悬赏中，2已接取，3已完成，4已删除） */
    @Excel(name = "悬赏状态", readConverterExp = "1=悬赏中，2已接取，3已完成，4已删除")
    private String rewardStatus;

    /** 悬赏优先级（1正常，2加急，3特急） */
    @Excel(name = "悬赏优先级", readConverterExp = "1=正常，2加急，3特急")
    private String rewardPriority;

    /** 图片地址 */
    private String imgUrl;

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public void setRewardId(Long rewardId)
    {
        this.rewardId = rewardId;
    }

    public Long getRewardId()
    {
        return rewardId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setDetails(String details)
    {
        this.details = details;
    }

    public String getDetails()
    {
        return details;
    }
    public void setRewardType(String rewardType)
    {
        this.rewardType = rewardType;
    }

    public String getRewardType()
    {
        return rewardType;
    }
    public void setRewardStatus(String rewardStatus)
    {
        this.rewardStatus = rewardStatus;
    }

    public String getRewardStatus()
    {
        return rewardStatus;
    }
    public void setRewardPriority(String rewardPriority)
    {
        this.rewardPriority = rewardPriority;
    }

    public String getRewardPriority()
    {
        return rewardPriority;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rewardId", getRewardId())
            .append("userId", getUserId())
            .append("title", getTitle())
            .append("price", getPrice())
            .append("details", getDetails())
            .append("rewardType", getRewardType())
            .append("rewardStatus", getRewardStatus())
            .append("rewardPriority", getRewardPriority())
            .toString();
    }
}
